package com.project.class4_11.watch;

/**
 * 观察者模式
 */
public class Factory extends Master{
    private double price;

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
        super.notifyWatch(price);
    }
}
